import request from '@/utils/request'

// 查询alarmlocal列表
export function listAlarmlocal(query) {
  return request({
    url: '/medical/alarmlocal/list',
    method: 'get',
    params: query
  })
}

// 查询alarmlocal详细
export function getAlarmlocal(id) {
  return request({
    url: '/medical/alarmlocal/' + id,
    method: 'get'
  })
}

// 新增alarmlocal
export function addAlarmlocal(data) {
  return request({
    url: '/medical/alarmlocal',
    method: 'post',
    data: data
  })
}

// 修改alarmlocal
export function updateAlarmlocal(data) {
  return request({
    url: '/medical/alarmlocal',
    method: 'put',
    data: data
  })
}

// 删除alarmlocal
export function delAlarmlocal(id) {
  return request({
    url: '/medical/alarmlocal/' + id,
    method: 'delete'
  })
}
